using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class TitleMenu : MonoBehaviour
{
    public Button newGameBtn;
    public Button continueBtn;
    public Button settingBtn;
    public Button exitBtn;

    // Start is called before the first frame update
    void Start()
    {
        newGameBtn.onClick.AddListener(() => SceneManager.LoadScene("SceneMain"));
        exitBtn.onClick.AddListener(() => Application.Quit());
    }

    // Update is called once per frame
    void Update()
    {

    }
}
